package com.graduation.project.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.graduation.project.entity.po.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 卑微小峰
 * @date 2022/10/29
 * 菜单管理数据访问接口
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 获取登录用户权限信息
     * @return List
     */
    List<String> listMenuPermsByUserId(@Param("id") Long id);
}
